package io.jee.runshan.domain;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 关键字回复
 * 
 * @author SunX
 *
 */
@Entity
@Table(name = "runshan_keyword_ask")
public class KeywordAsk {

	/**
	 * 0:关键字
	 */
	public static final Integer TYPE_KEY = 0;
	/**
	 *  1：固定问题
	 */
	public static final Integer TYPE_FIXED = 1;
	
	private Integer id;
	private String title;//标题
	private String keyword;//关键字
	private String replyContent;// 回复内容
	private Integer type;//0:关键字 1：固定问题

	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getReplyContent() {
		return replyContent;
	}

	public void setReplyContent(String replyContent) {
		this.replyContent = replyContent;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
